﻿function Enemy(id, strength, speed, textureMove, charId) {

    this.id = id;
    this.strength = strength;
    this.speed = speed;
    this.textureMove = textureMove;
    this.charId = charId;
    return this;

}

//id, strength, size, speed, textureSrc, textCharacter
var Enemies = [];
    Enemies.push(new Enemy(1,10,10,"content\images\enemy1.png","A"));
    Enemies.push(new Enemy(2, 20,20, "content\images\enemy1.png", "B"));
    Enemies.push(new Enemy(3, 50, 5, "content\images\enemy1.png", "C"));

